package com.yangziqiang.service.impl;

import com.yangziqiang.entity.EsMovies;
import com.yangziqiang.entity.Movies;
import com.yangziqiang.mapper.MoviesMapper;
import com.yangziqiang.service.IMoviesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author BenjaminYang
 * @since 2022-02-09
 */
@Service
public class MoviesServiceImpl extends ServiceImpl<MoviesMapper, Movies> implements IMoviesService {

    @Override
    public List<EsMovies> listForEs() {
        return getBaseMapper().listForEs();
    }
}
